var url;
$.ajax({
	url: 'http://www.xiaoxiaokm.com/admin/adminFund/getDomain',
	type: 'GET',
	async: false,
	dataType: 'json',
	success: function(res) {
		url = res.data.DomainUrl;
	},
	error: function(XMLHttpRequest, textStatus, errorThrown) {
		alert('请求错误')
	}
});
var baseUrl = "http://" + url + "/"; //测试
console.log(baseUrl);